package com.xcity.game.combat.unit;

import com.alibaba.fastjson.annotation.JSONField;
import com.xcity.game.combat.attr.CombatAttribute;
import com.xcity.game.combat.attr.CombatAttributeType;

public class UnitAttribute extends CombatAttribute {

	public UnitAttribute(CombatAttributeType type, float value) {
//		super(type, value);
		this.type = type;
		this.value = value;
	}

	@JSONField(name = "type")
	@Override
	public CombatAttributeType getType() {
		return super.getType();
	}

	@JSONField(name = "value")
	@Override
	public float getValue() {
		return super.getValue();
	}
	
}
